package cn.com.nes.mybatis.callcenter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 工单记录表
 */
@TableName(value = "work_order_record")
@Data
public class WorkOrderRecord{

    /**
     * 工单记录id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 工单id
     */
    @TableField(value = "work_order_id")
    private Long workOrderId;

    /**
     * 记录内容
     */
    @TableField(value = "`desc`")
    private String desc;

    /**
     * 用户id(记录人)
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 业务支持人员id
     */
    @TableField(value = "maintain_id")
    private Long maintainId;

    /**
     * 工单状态
     */
    @TableField(value = "`status`")
    private Integer status;

    /**
     * 逻辑删除:   1 表示删除，0 表示未删除。
     */
    @TableField(value = "is_delete")
    private Integer isDelete;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create")
    private Long gmtCreate;

    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified")
    private Long gmtModified;

    /**
     * 图片地址
     */
    @TableField(value = "images")
    private String images;

    /**
     * 故障类型id
     */
    @TableField(value = "fault_type_id")
    private Integer faultTypeId;

    /**
     * 经度
     */
    @TableField(value = "longitude")
    private BigDecimal longitude;

    /**
     * 纬度
     */
    @TableField(value = "latitude")
    private BigDecimal latitude;

    /**
     * 回访评价
     */
    @TableField(value = "visitEval")
    private String visiteval;

    /**
     * 故障现象代码
     */
    @TableField(value = "gzxxdm")
    private String gzxxdm;

    /**
     * 故障现象名称
     */
    @TableField(value = "gzxxmc")
    private String gzxxmc;

    /**
     *
     */
    @TableField(value = "gzfldm")
    private String gzfldm;

    /**
     * 故障分类名称
     */
    @TableField(value = "gzflmc")
    private String gzflmc;

    /**
     * 故障细类代码
     */
    @TableField(value = "gzflmx_dm")
    private String gzflmxDm;

    /**
     * 故障细类名称
     */
    @TableField(value = "gzflmx_mc")
    private String gzflmxMc;

    /**
     * 掌上新村工单故障现象代码
     */
    @TableField(value = "zsxc_gzxxdm")
    private String zsxcGzxxdm;

    /**
     * 掌上新村工单故障现象名称
     */
    @TableField(value = "zsxc_gzxxmc")
    private String zsxcGzxxmc;

    @TableField(value = "is_delete")
    private Integer delete;

    @TableField(value = "effective_record")
    private Boolean effectiveRecord;




}